const db = require('./db')

const Schema = db.Schema

const keyWordSchema = new Schema({
    name: String,
    words: [String],
    emailIds: [Schema.Types.ObjectId],
    state: { type: Number, default: 1 },
    createTime: { type: Date, default: Date.now }
})

module.exports = keyWordSchema